.mileage {
  margin-top: -20px;
  &-unit-title {
    display: flex;
    justify-content: space-between;
    .first-title {
      margin-bottom: 12px;
    }
  }

  &-unit-info {
    color: $default-color;
    cursor: pointer
  }

  &-priority {
    display: flex;
    flex-wrap: wrap;
  }

  &-priority__select {
    width: 30%;

    .ant-select-selection {
      border-radius: 4px 0 0 4px;
      border-right: none;
    }
  }

  &-priority__chooser {
    width: 70%;

    .ant-input, .ant-select-selection {
      border-radius: 0 4px 4px 0;
    }
  }
}

.new-unit {
  &-footer {
    height: 50px;
    line-height: 50px;
    position: fixed;
    bottom: 0;
    z-index: 5;
    margin-left: -35px;
    background: #fff;
    box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.067);
    padding-left: 20px;
    width: 100%;
  }

  &-cancel {
    margin-left: 20px;
  }

  &__input {
    width: 100%;
  }

  .mileage-priority{
    width: 66%;
  }
}

.ladder-mileage {

  &-line {
    width: 100%;
    position: relative;
  }

  &-line::after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: 0 0 0 1px $tag-default-border;
    transform-origin: 0 bottom;
    transform: scaleY(.5) translateZ(0);
  }

}

.ladder-rule-detail {
  &-header {
    display: flex;
    justify-content: space-between;
  }

  &__span {
    color: $default-color-inverse-focus;
  }
  .advanced-table {
    height: calc(100% - 130px);
  }
  .ladder-rule-detail-header-box { padding: 0 20px; }
}
